const menus = [
    {
        path: '/sys',
        name: '系统管理',
        children: [
            {
                path: '/user',
                name: '用户管理',
            },
            {
                path: '/role',
                name: '角色管理',
            },
            {
                path: '/dict',
                name: '数据字典',
            },
            {
                path: '/menu',
                name: '菜单管理',
            }
        ]
    },
    {
        path: '/shop',
        name: '商品管理',
        children: [
            {
                path: '/list',
                name: '商品列表',
            },
            {
                path: '/add',
                name: '新增商品',
            },
            {
                path: '/info',
                name: '商品明细',
                children: [
                    {
                        path: '/list',
                        name: '明细列表',
                    },
                    {
                        path: '/add',
                        name: '新增明细',
                    },
                ]
            },
        ]
    }
]

export default menus